package com.zhiyou.homework.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Table(name = "homework")
public class Homework {
    @Id
    private Integer hid;

    private Integer htid;

    private Date hreleasetime;

    private String hreleasecontent;

    private String hreleaseimg;

    private String hreleasevideo;

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public Integer getHtid() {
        return htid;
    }

    public void setHtid(Integer htid) {
        this.htid = htid;
    }

    public Date getHreleasetime() {
        return hreleasetime;
    }

    public void setHreleasetime(Date hreleasetime) {
        this.hreleasetime = hreleasetime;
    }

    public String getHreleasecontent() {
        return hreleasecontent;
    }

    public void setHreleasecontent(String hreleasecontent) {
        this.hreleasecontent = hreleasecontent == null ? null : hreleasecontent.trim();
    }

    public String getHreleaseimg() {
        return hreleaseimg;
    }

    public void setHreleaseimg(String hreleaseimg) {
        this.hreleaseimg = hreleaseimg == null ? null : hreleaseimg.trim();
    }

    public String getHreleasevideo() {
        return hreleasevideo;
    }

    public void setHreleasevideo(String hreleasevideo) {
        this.hreleasevideo = hreleasevideo == null ? null : hreleasevideo.trim();
    }
}